import Vue from 'vue'
import App from './App.vue'
import router from './router'
import store from './store'
import ElementUI from 'element-ui';
import 'element-ui/lib/theme-chalk/index.css';
import './assets/global.css'
import request from "./utils/request";

import '../public/css/index.css'

import HtmlPanel from '@/components/HtmlPanel'
// 注册为全局组件
Vue.component('v-html-panel',HtmlPanel)

import EditorBar from "@/components/editoritem";
Vue.component('EditorBar',EditorBar);

Vue.config.productionTip = false

Vue.use(ElementUI,{size:"small"})

Vue.prototype.request = request

new Vue({
  router,
  store,
  render: h => h(App)
}).$mount('#app')
